# -*- coding: utf-8 -*-

# 一些错误类, 进行错误处理, 目前偏简单
class ParamInitException(Exception):
    def __init__(self, message):
        Exception.__init__(self)
        self.message=message

class ParamException(Exception):
    def __init__(self, message):
        Exception.__init__(self)
        self.message=message

class ArgumentException(Exception):
    def __init__(self, message):
        Exception.__init__(self)
        self.message=message